package org.japo.java.swing.listener;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import org.japo.java.swing.igu.IGU;

public class GER implements ActionListener{
    //referencia igu
    private final IGU igu;
    
    //constructor
    public GER(IGU igu){
        this.igu = igu;
    }
    
    //listener de accion
    @Override
    public void actionPerformed(ActionEvent e) {
        igu.finalizarPrograma();
    }
    
}
